package com.blb.utils;

import org.apache.shiro.SecurityUtils;

import com.blb.entity.User;

public class NowUserUtils {

    public static User getNowUser() {
        return (User) SecurityUtils.getSubject().getPrincipal();
    }
}
